package models

import "gorm.io/gorm"

type Docker struct {
	gorm.Model
	Name   string `gorm:"type:varchar(30)" json:"name"`
	Sex    string `gorm:"type:enum('男','女')" json:"sex"`
	Tel    string `gorm:"type:char(11)" json:"tel"`
	Es     string `gorm:"type:varchar(30)" json:"es"`
	Time   string `gorm:"type:varchar(50)" json:"time"`
	Num    int    `gorm:"type:int(100)" json:"num"`
	Status string `gorm:"type:enum('已完成','进行中','未进行')" json:"status"`
}

type User struct {
	Username string `gorm:"type:varchar(50)" json:"username"`
	Password string `gorm:"type:varchar(100)" json:"password"`
}
